﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SManaModel.entities
{
    [Table("role")]
    public class Role
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public string Phone { get; set; }

        public string Password { get; set; }

        public string Mail { get; set; }

        public string NickName { get; set; }

        public string Address { get; set; }

        public string GroupId { get; set; }

        public DateTime CDate { get; set; }

        public virtual TeacherEntity Group { get; set; }
    }
}
